/*
 * BombaThread.h
 *
 *  Created on: 12/06/2013
 *      Author: RJC
 */

#ifndef BOMBATHREAD_H_
#define BOMBATHREAD_H_

#include "../../red/Thread.h"
#include "../Escenario.h"
#include "../../red/Mutex.h"

class BombaThread: public Thread {
public:
	BombaThread(Personaje* agresor, Casilla* casillaAtacada, int danioBase, Escenario* escenario, Mutex* escenarioMutex){
		this->agresor = agresor;
		this->casillaAtacada = casillaAtacada;
		this->danioBase = danioBase;
		this->escenario = escenario;
		this->escenarioMutex = escenarioMutex;};
	virtual ~BombaThread();
protected:
	virtual void run();
private:
	Personaje* agresor;
	Casilla* casillaAtacada;
	Escenario* escenario;
	Mutex* escenarioMutex;
	int danioBase;
};

#endif /* BOMBATHREAD_H_ */
